package com.homedo.odin.solution.service;

import com.homedo.core.common.base.service.BaseService;
import com.homedo.odin.solution.dao.ColumnHotwordMapper;
import com.homedo.odin.solution.model.entity.ColumnHotword;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 热词库 服务实现类
 * </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
@Service
public class ColumnHotwordServiceImpl extends BaseService<ColumnHotwordMapper, ColumnHotword> {
    /**
     * 查找热词
     * @return
     */
    public List<ColumnHotword> selectAll(int top){
       return baseMapper.selectAll(top);
    }

}
